package club.emergency.wechat.mistake_collection.search;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Create with IntelliJ IDEA
 * Project Name: wechat
 * Package Name: club.emergency.wechat.mistake_collection.search
 * Date: 2018/12/23
 *
 * @author: 快乐的小菌菌
 * Description:
 */
public interface MistakeCollectionSearch {

    /**
     * 按人员查询错题
     *
     * @param staffId  人员id
     * @param pageNo   当前页
     * @param pageSize 每页显示数据量
     * @return 以字符串形式返回
     */
    @PostMapping("/mistake-collection-search-provider/flipList")
    String flipList(@RequestParam("staffId") Long staffId, @RequestParam("pageNo") Integer pageNo, @RequestParam("pageSize") Integer pageSize);


}
